import request from '@/utils/request'

// 库内退货单-列表
export function queryBackWarehouseList(data) {
  return request({
    url: '/wms_v1_pc/back-warehouse-order/list-back-warehouse-order',
    method: 'POST',
    data
  })
}

// 库内退货单-添加
export function saveBackWarehouse(data) {
  return request({
    url: '/wms_v1_pc/back-warehouse-order/add-back-warehouse-order',
    method: 'POST',
    data
  })
}


// 库内退货单-查看
export function getBackWarehouseDetail(params) {
  return request({
    url: '/wms_v1_pc/back-warehouse-order/get-back-warehouse-order-detail',
    method: 'GET',
    params
  })
}


// 库内退货单-出库
export function outBackWarehouse(data) {
  return request({
    url: '/wms_v1_pc/back-warehouse-order/out-back-warehouse-order',
    method: 'POST',
    data
  })
}

// 库内退货单-取消
export function cancelBackWarehouse(data) {
  return request({
    url: '/wms_v1_pc/back-warehouse-order/cancel-back-warehouse-order',
    method: 'POST',
    data
  })
}
